package com.yc.supermarket.mapper;

import com.yc.supermarket.entity.Sales;
import com.yc.supermarket.entity.Transaction;

import java.util.List;

public interface UnlineBuyMapper {
    Double findprice(int goodsid);
    int founds(Transaction order);
    int foundtails(Sales orderTail);

    List<Sales> finds(Sales orderTail);

    int submit(Transaction order);

    int modify(Sales sales);
    int overorder(Sales sales);
    int overtail(Sales sales);
}
